<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台--文章管理</title>
    <link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>images/style.css" />
    <base target="_self"/>

    <script src='<?php echo isset($skin)?$skin:"";?>js/jquery.min.js'></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/jquery.form.min.js"></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/dist/dialog-min.js"></script>
    <script src="<?php echo isset($skin)?$skin:"";?>js/admin.js"></script>
    <script type="text/javascript">
        <!--
        $(document).ready(function () {
            $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
        });
        //-->
    </script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>/js/validate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate-plugin.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/form.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artDialog.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/iframeTools.js"></script>
<link rel="stylesheet" href="<?php echo isset($skin)?$skin:"";?>js/artdialog.css" type="text/css">
</head>
<body>
<div class="hh6"></div>
<table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
    <thead> <tr class="n_bt"><td colspan="9" align="center">工作小助手系统</td></tr>
		<tr><th colspan='9' class="thbt">【<?php echo isset($title)?$title:"";?>】<span><a href="?c=<?php echo isset($classname)?$classname:"";?>&a=info">添加用户组</a></span></th></tr>
	</thead>
    <tr>
        <td align="center"  class="thbt hr">组名称</td>
        <td align="center"  class="thbt hr">所属单位</td>
        <td align="center"  class="thbt hr">说明</td>
        <td align="center"  class="thbt hr">创建者</td>
        <td align="center"  class="thbt hr">时间</td>
        <td align="center"  class="thbt hr">权限设定</td>
        <td align="center"  class="thbt hr">查看用户</td>
        <td align="center"  class="thbt hr">操作</td>
    </tr>
    <?php if(is_array($oj))  foreach($oj as $v) { ?>
    <tr>
        <td  class="hr" align="center"><?php echo isset($v->rolename)?$v->rolename:"";?></td>
        <td  class="hr" align="center"><?php echo isset($v->company_name)?$v->company_name:"";?></td>
        <td  class="hr" align="center" ><?php echo isset($v->roleinfo)?$v->roleinfo:"";?></td>
        <td  class="hr" align="center"><?php echo isset($v->name)?$v->name:"";?></td>
        <td class="hr" align="center"><?php echo isset($v->createdate)?$v->createdate:"";?></td>
        <td class="hr" align="center">
            <a href="?c=<?php echo isset($classname)?$classname:"";?>&a=device&id=<?php echo isset($v->roleid)?$v->roleid:"";?>">前台权限设定</a> <a href="?c=<?php echo isset($classname)?$classname:"";?>&a=group&id=<?php echo isset($v->roleid)?$v->roleid:"";?>">后台权限设定</a></td>
        <td class="hr" align="center"><a href="?c=master&roleid=<?php echo isset($v->roleid)?$v->roleid:"";?>">用户管理</a>
            </td>
        <td class="hr" align="center">
            <a class="mod" href="?c=<?php echo isset($classname)?$classname:"";?>&a=info&id=<?php echo isset($v->roleid)?$v->roleid:"";?>">修改</a>
            <a class="del" href="?c=<?php echo isset($classname)?$classname:"";?>&a=del&id=<?php echo isset($v->roleid)?$v->roleid:"";?>">删除</a></td>
    </tr>
    <?php }?>
</table>
</body>
</html>
